package com.example.testapp.model;

import java.math.BigDecimal;

public class BookDataAddRequest {

    private Byte type;         // 0收入，1支出
    private String bookDate;   // 格式："2024-05-30"
    private String category;
    private BigDecimal price;
    private String remark;
    private Integer userId;
    private String source;

    public void setType(Byte type) {
        this.type = type;
    }

    public void setBookDate(String bookDate) {
        this.bookDate = bookDate;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setSource(String source) {
        this.source = source;
    }
}